import http from "@/utils/request"

// 本月产出数据
export function getAllTypeAmountOfMonth(params) {
  return http({
    url: `/breed/shipmentOutBill/getAllTypeAmountOfMonth`,
    method: 'get',
    params
  });
}

// 年产出数据
export function getAllTypeAmountOfYear(params) {
  return http({
    url: `/breed/shipmentOutBill/getAllTypeAmountOfYear`,
    method: 'get',
    params
  });
}

// 基地出仓
export function getBillByBaseId(params) {
  return http({
    url: `/breed/dovecoteOutBill/getBillByBaseId`,
    method: 'get',
    params
  });
}

// 基地入库
export function findBillByGmt_createAndBaseId(startTime,endTime,baseId) {
  return http({
    url: `/breed/dovecoteEntryBill/findBillByGmt_createAndBaseId/${startTime}/${endTime}/${baseId}`,
    method: 'get'
  });
}